object APubReportForm: TAPubReportForm
  Left = 658
  Top = 194
  Width = 551
  Height = 278
  Caption = 'APubReportForm'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  Position = poMainFormCenter
  OnCreate = FormCreate
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object StatusBar1: TStatusBar
    Left = 0
    Top = 221
    Width = 535
    Height = 19
    Panels = <>
  end
  object cxGroupBox1: TcxGroupBox
    Left = 0
    Top = 0
    Align = alTop
    TabOrder = 1
    Transparent = True
    Height = 37
    Width = 535
    object cxLabel1: TcxLabel
      Left = 29
      Top = 11
      AutoSize = False
      Caption = #35831#36873#21462#25253#34920','#28857#20987#30830#23450#36827#20837#35774#35745#22120#65281
      ParentFont = False
      Style.Font.Charset = DEFAULT_CHARSET
      Style.Font.Color = clBlue
      Style.Font.Height = -11
      Style.Font.Name = 'MS Sans Serif'
      Style.Font.Style = []
      Style.IsFontAssigned = True
      Transparent = True
      Height = 17
      Width = 323
    end
    object cxButton1: TcxButton
      Left = 284
      Top = 11
      Width = 75
      Height = 20
      Caption = #30906#23450
      Default = True
      ModalResult = 1
      TabOrder = 2
    end
    object cxButton2: TcxButton
      Left = 382
      Top = 9
      Width = 75
      Height = 20
      Cancel = True
      Caption = #21462#28040
      ModalResult = 2
      TabOrder = 3
    end
    object cxImage1: TcxImage
      Left = 8
      Top = 11
      TabStop = False
      AutoSize = True
      Enabled = False
      Picture.Data = {
        07544269746D617036050000424D360500000000000036040000280000001000
        000010000000010008000000000000010000220B0000220B0000000100000001
        000000000000330000006600000099000000CC000000FF000000003300003333
        00006633000099330000CC330000FF3300000066000033660000666600009966
        0000CC660000FF66000000990000339900006699000099990000CC990000FF99
        000000CC000033CC000066CC000099CC0000CCCC0000FFCC000000FF000033FF
        000066FF000099FF0000CCFF0000FFFF00000000330033003300660033009900
        3300CC003300FF00330000333300333333006633330099333300CC333300FF33
        330000663300336633006666330099663300CC663300FF663300009933003399
        33006699330099993300CC993300FF99330000CC330033CC330066CC330099CC
        3300CCCC3300FFCC330000FF330033FF330066FF330099FF3300CCFF3300FFFF
        330000006600330066006600660099006600CC006600FF006600003366003333
        66006633660099336600CC336600FF3366000066660033666600666666009966
        6600CC666600FF66660000996600339966006699660099996600CC996600FF99
        660000CC660033CC660066CC660099CC6600CCCC6600FFCC660000FF660033FF
        660066FF660099FF6600CCFF6600FFFF66000000990033009900660099009900
        9900CC009900FF00990000339900333399006633990099339900CC339900FF33
        990000669900336699006666990099669900CC669900FF669900009999003399
        99006699990099999900CC999900FF99990000CC990033CC990066CC990099CC
        9900CCCC9900FFCC990000FF990033FF990066FF990099FF9900CCFF9900FFFF
        99000000CC003300CC006600CC009900CC00CC00CC00FF00CC000033CC003333
        CC006633CC009933CC00CC33CC00FF33CC000066CC003366CC006666CC009966
        CC00CC66CC00FF66CC000099CC003399CC006699CC009999CC00CC99CC00FF99
        CC0000CCCC0033CCCC0066CCCC0099CCCC00CCCCCC00FFCCCC0000FFCC0033FF
        CC0066FFCC0099FFCC00CCFFCC00FFFFCC000000FF003300FF006600FF009900
        FF00CC00FF00FF00FF000033FF003333FF006633FF009933FF00CC33FF00FF33
        FF000066FF003366FF006666FF009966FF00CC66FF00FF66FF000099FF003399
        FF006699FF009999FF00CC99FF00FF99FF0000CCFF0033CCFF0066CCFF0099CC
        FF00CCCCFF00FFCCFF0000FFFF0033FFFF0066FFFF0099FFFF00CCFFFF00FFFF
        FF00000080000080000000808000800000008000800080800000C0C0C0008080
        8000191919004C4C4C00B2B2B200E5E5E500C8AC2800E0CC6600F2EABF00B59B
        2400D8E9EC0099336600D075A300ECC6D900646F710099A8AC00E2EFF1000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        0000E8818181818181818181818181818181ACD7D7D7D7D7D7D7D7D7D7D7D7D7
        D781ACD7333333333333333333333333D781ACD733DEDEDEDE33DEDE33DEDE33
        D781ACD733D7D7D7D733D7D733D7D733D781ACD733DEDEDEDE33DEDE33DEDE33
        D781ACD733D7D7D7D733D7D733D7D733D781ACD733DEDEDEDE33DEDE33DEDE33
        D781ACD733D7D7D7D733D7D733D7D733D781ACD7333333333333333333333333
        D781ACD75E5E5E5E5E5E5E5E5E5E5E5ED781ACD7D7D7D7D7D7D7D7D7D7D7D7D7
        D781ACD733333333D7D7D7D7D7D7D7D7D781ACD75E5E5E5ED7D7D7D733333333
        D781ACD7D7D7D7D7D7D7D7D75E5E5E5ED781ACACACACACACACACACACACACACAC
        ACAC}
      TabOrder = 0
    end
  end
  object cxGridReport: TcxGrid
    Left = 0
    Top = 37
    Width = 535
    Height = 184
    Align = alClient
    TabOrder = 2
    object cxGridDBTV: TcxGridDBTableView
      NavigatorButtons.ConfirmDelete = False
      NavigatorButtons.First.Visible = False
      NavigatorButtons.PriorPage.Visible = False
      NavigatorButtons.Prior.Visible = False
      NavigatorButtons.Next.Visible = False
      NavigatorButtons.NextPage.Visible = False
      NavigatorButtons.Last.Visible = False
      NavigatorButtons.Insert.Visible = True
      NavigatorButtons.Append.Visible = False
      NavigatorButtons.Delete.Hint = #21024#38500#25253#34920
      NavigatorButtons.Edit.Hint = #32534#36753#25253#34920
      NavigatorButtons.Edit.Visible = True
      NavigatorButtons.Post.Hint = #20445#23384#25253#34920
      NavigatorButtons.Cancel.Visible = True
      NavigatorButtons.Refresh.Hint = #21047#26032#25253#34920
      NavigatorButtons.SaveBookmark.Visible = False
      NavigatorButtons.GotoBookmark.Visible = False
      NavigatorButtons.Filter.Visible = False
      OnCellDblClick = cxGridDBTVCellDblClick
      DataController.DataSource = dsReport
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      OptionsCustomize.ColumnFiltering = False
      OptionsCustomize.ColumnGrouping = False
      OptionsCustomize.ColumnMoving = False
      OptionsCustomize.ColumnSorting = False
      OptionsData.CancelOnExit = False
      OptionsView.Navigator = True
      OptionsView.GroupByBox = False
      object cxGridDBTVreport_id: TcxGridDBColumn
        Caption = #32534#21495
        DataBinding.FieldName = 'report_id'
        HeaderGlyphAlignmentHorz = taCenter
        Width = 68
      end
      object cxGridDBTVreport_desc: TcxGridDBColumn
        Caption = #25253#34920#25551#36848
        DataBinding.FieldName = 'report_desc'
        Width = 136
      end
      object cxGridDBTVreport_elect: TcxGridDBColumn
        DataBinding.FieldName = #26159#21542#22810#31508#25171#21360
        PropertiesClassName = 'TcxCheckBoxProperties'
        Properties.Alignment = taLeftJustify
        Properties.NullStyle = nssInactive
        Width = 144
      end
    end
    object cxGridReportLevel1: TcxGridLevel
      GridView = cxGridDBTV
    end
  end
  object frxDBDataSet: TfrxDBDataset
    UserName = 'frxDBDataSet'
    CloseDataSource = False
    FieldAliases.Strings = (
      'menu_name=menu_name'
      'report_id=report_id'
      'report_desc=report_desc'
      'report_link=report_link'
      'report_file=report_file'
      'create_user=create_user'
      'create_date=create_date'
      'upd_user=upd_user'
      'upd_date=upd_date'
      'report_elect=report_elect')
    DataSet = Qreport
    Left = 282
    Top = 75
  end
  object Qreport: TMyQuery
    SQLInsert.Strings = (
      'INSERT INTO sys_report'
      
        '  (menu_name, report_id, report_desc, report_link, report_elect,' +
        ' report_file, create_user, create_date, upd_user, upd_date)'
      'VALUES'
      
        '  (:menu_name, :report_id, :report_desc, :report_link, :report_e' +
        'lect, :report_file, :create_user, :create_date, :upd_user, :upd_' +
        'date)')
    SQLDelete.Strings = (
      'DELETE FROM sys_report'
      'WHERE'
      '  menu_name = :Old_menu_name AND report_id = :Old_report_id')
    SQLUpdate.Strings = (
      'UPDATE sys_report'
      'SET'
      
        '  menu_name = :menu_name, report_id = :report_id, report_desc = ' +
        ':report_desc, report_link = :report_link, report_elect = :report' +
        '_elect, report_file = :report_file, create_user = :create_user, ' +
        'create_date = :create_date, upd_user = :upd_user, upd_date = :up' +
        'd_date'
      'WHERE'
      '  menu_name = :Old_menu_name AND report_id = :Old_report_id')
    SQLRefresh.Strings = (
      
        'SELECT menu_name, report_id, report_desc, report_link, report_el' +
        'ect, report_file, create_user, create_date, upd_user, upd_date F' +
        'ROM sys_report'
      'WHERE'
      '  menu_name = :menu_name AND report_id = :report_id')
    SQLLock.Strings = (
      'SELECT * FROM sys_report'
      'WHERE'
      '  menu_name = :Old_menu_name AND report_id = :Old_report_id'
      'FOR UPDATE')
    Connection = ADMSystem.myConn
    SQL.Strings = (
      'select * from sys_report '
      'order by report_id')
    AfterInsert = QreportAfterInsert
    BeforePost = QreportBeforePost
    UpdatingTable = 'sys_report'
    Left = 281
    Top = 121
    object Qreportmenu_name: TStringField
      FieldName = 'menu_name'
      Origin = 'sys_report.menu_name'
      Size = 14
    end
    object Qreportreport_id: TStringField
      FieldName = 'report_id'
      Origin = 'sys_report.report_id'
      Size = 24
    end
    object Qreportreport_desc: TStringField
      FieldName = 'report_desc'
      Origin = 'sys_report.report_desc'
      Size = 80
    end
    object Qreportreport_link: TStringField
      FieldName = 'report_link'
      Origin = 'sys_report.report_link'
      Size = 120
    end
    object Qreportreport_file: TBlobField
      FieldName = 'report_file'
      Origin = 'sys_report.report_file'
    end
    object Qreportcreate_user: TStringField
      FieldName = 'create_user'
      Origin = 'sys_report.create_user'
      Size = 40
    end
    object Qreportcreate_date: TDateTimeField
      FieldName = 'create_date'
      Origin = 'sys_report.create_date'
    end
    object Qreportupd_user: TStringField
      FieldName = 'upd_user'
      Origin = 'sys_report.upd_user'
      Size = 40
    end
    object Qreportupd_date: TDateTimeField
      FieldName = 'upd_date'
      Origin = 'sys_report.upd_date'
    end
    object Qreportreport_elect: TLargeintField
      FieldName = 'report_elect'
      Origin = 'sys_report.report_elect'
    end
  end
  object dsReport: TMyDataSource
    DataSet = Qreport
    Left = 318
    Top = 73
  end
end
